package com.six.core.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @TableName tb_link
 */
@ApiModel(description = "")
@TableName(value ="tb_link")
@Data
public class Link implements Serializable {
    /**
     * 
     */
    @ApiModelProperty("")
    @TableId(value = "link_id",type = IdType.AUTO)
    private Integer linkId;

    /**
     * 
     */
    @ApiModelProperty("")
    private String linkUrl;

    /**
     * 
     */
    @ApiModelProperty("")
    private String linkName;

    /**
     * 
     */
    @ApiModelProperty("")
    @TableField(value = "is_disable",fill = FieldFill.INSERT)//添加时自动填充
    private Integer isDisable;

    /**
     * 
     */
    @ApiModelProperty("")
    @TableField(value = "is_deleted",fill = FieldFill.INSERT)//添加时自动填充
    private Integer isDeleted;

    /**
     * 
     */
    @ApiModelProperty("")
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private Date gmtCreate;

    /**
     * 
     */
    @ApiModelProperty("")
    @TableField(value = "gmt_Modified",fill = FieldFill.INSERT_UPDATE)//添加时自动填充
    private Date gmtModified;

    @ApiModelProperty(hidden = true)
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}